names = ['forrest', 'admin', 'slj', 'jack', 'master']
for name in names:
    if name == 'admin':
        print(f'hello {name}, would you like support')
    else:
        print(f'hello {name}, thank you for logging')

names = []
if names:
    for name in names:
        if name == 'admin':
            print(f'hello {name}, would you like support')
        else:
            print(f'hello {name}, thank you for logging')
else:
    print('names empty')

current_users = ['forrest', 'admin', 'slj', 'jack', 'master']
new_users = ['SLJ', 'jenny']
for newUser in new_users:
    if newUser.lower() in current_users:
        print(f'{newUser} is exit')
    else:
        print(f'{newUser} add successfully')

months = list(range(1, 10))
for month in months:
    if month == 1:
        print(f'{month}st')
    elif month == 2:
        print(f'{month}nd')
    elif month == 3:
        print(f'{month}rd')
    else:
        print(f'{month}th')
